Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },
  onShow: function () {
    getApp().startpage(new Date().getTime())
  },
  onHide() {
    getApp().endpage(new Date().getTime())
  },
  submit(e) {
    wx.navigateTo({
      url: '/pages/consignment/establish/establish',
    })
  },
  tolist(){
    wx.navigateTo({
      url: '/pages/consignment/consignmentList/consignmentList',
    })
  },
  gotojima(){
    wx.navigateTo({
      url: '/pages/consignment/protocol/protocol',
    })
  }
})